<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="PDSW-2014">
    <meta name="author" content="Bonez">
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<!-- Bootstrap core CSS -->
    <link href="<c:url value="/recursos/css/bootstrap.css" />" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="<c:url value="/recursos/css/starter-template.css" />" rel="stylesheet">

	
<title>Gerenciador Pessoal</title>
</head>

<body>
<c:url var="root" value="/usuario"/>
	<div class="container"><!--organiza tamanho container automaticamente pelo bootstrap-->
	
		<div class="container">
			<div class="jumbotron">
			
				<div class="form-group">
					<img class="img-responsive" src="<c:url value="/recursos/images/logo1.png" />" alt="Gerenciador pessoal"/>
				</div>
				
				
				<c:url var="aut" value="/j_spring_security_check" />
					<p>${mensagem}</p>
			
				<form class="container" action="${aut}" method="post">
			
				  <div class="form-group">
						<label id="login_colour" for="Email"></label>
						<input type="name" class="form-control" id="Email" placeholder="Seu Email" name="j_username">
				  </div>
				  
				  
				  <div class="form-group">
						<label for="Password"></label>
						<input type="password" class="form-control" id="Password" placeholder="Senha" name="j_password">
				  </div>
					  
					<div class="form-group">
						<button type="submit" class="btn btn-primary btn-lg col-md-5 col-md-offset-3">Entrar</button>
					</div>
					
					<div class="row">
						<div class="col-md-3 col-md-offset-2 btn-lg "><a href="#">Esqueci Minha Senha</a></div>
						<div class="col-md-3 btn-lg"><a href="${root}/novo">Cadastrar</a></div>
					</div>
									  
				</form>
				
			</div>	
		</div>
	</div>		
	
	<!-- /.container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
</body>
</html>